package com.blame.alibaba.config;

import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 何彦声
 * Date: 2025-08-28
 * Time:
 */
@Configuration
public class AlibabaConfiguration {

    @Bean
    ChatClient chatClient(ChatClient.Builder builder){
        return builder.defaultSystem("你是名字是小瑞").build();
    }

    @Bean
    ChatClient chatClient1(ChatClient.Builder builder) {
        return builder.defaultSystem(" 请你给我回答问题时, 前⾯带⼀个 {word}")
                .build();
    }


}
